import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import dizhi from '@/components/dizhi'
import dizhi1 from '@/components/dizhi1'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'mainindex',
      component: HelloWorld
    },
    {
      path: '/dizhi',
      name: 'dizhi',
      component: dizhi
    },
    {
      path: '/dizhi1',
      name: 'dizhi1',
      component: dizhi1
    }
  ]
})
